<template>
    <div>
        <div v-if="isShow" class="weui_msg">
            <div class="weui_icon_area">
                <i class="weui_icon_info weui_icon_msg"></i>
            </div>
            <div class="weui_text_area">
                <h4 class="weui_msg_title">请在微信客户端打开链接</h4>
            </div>
        </div>
    </div>
</template>

<script>

export default {
    data() {
        return {
            isShow: false
        }
    },
    mounted() {
        var ua = navigator.userAgent.toLowerCase()
            var isWeixin = ua.indexOf('micromessenger') !== -1
            if (!isWeixin) {
                this.isShow = true
            }
    }
}
</script>

<style>

</style>
